home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / AIAT 1.0.1 / Headers / Storage / VInt32.h < prev   
Encoding:
Text File  |  1997-09-11  |  451 b   |  27 lines  |  [TEXT/CWIE]

  1. // VInt32.h
  2. //    Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4.  
  5. // functions supporting a variable length encoding/decoding of uint32's
  6.  
  7. #pragma once
  8. #ifndef VInt32_h
  9. #define VInt32_h
  10.  
  11. #pragma import on
  12.  
  13. #include "IAStorage.h"
  14.  
  15. #pragma IA_BEGIN_EXPORTS
  16.  
  17. byte VInt32Size(uint32 i);
  18.  
  19. void VInt32Write(uint32 i, IAOutputBlock* output);
  20.  
  21. uint32 VInt32Read(IAInputBlock* input);
  22.  
  23. #pragma IA_END_EXPORTS
  24.  
  25. #pragma import reset
  26. #endif
  27.